21 lines
477 B
Java
21 lines
477 B
Java
package com.plannaplan.security.cas;
|
|
|
|
import org.junit.Test;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
public class CustomUAMCasValidatorTest {
|
|
|
|
@Value("${plannaplan.frontendUrl}")
|
|
private String serviceUrl;
|
|
|
|
@Test
|
|
public void shouldValidateWithDomain() {
|
|
|
|
CustomUAMCasValidator validator = new CustomUAMCasValidator(serviceUrl, "ST-54649-5x4h09vzUpEIyAGmf1sz-cas.amu.edu.pl");
|
|
|
|
validator.validate();
|
|
|
|
|
|
}
|
|
}
|