Код: Выделить всё
SAMLCredential saml = (SAMLCredential) SecurityContextHolder.getContext()
.getAuthentication().getCredentials();
String relay = saml.getRelayState();
Подробнее здесь: https://stackoverflow.com/questions/790 ... controller
Код: Выделить всё
SAMLCredential saml = (SAMLCredential) SecurityContextHolder.getContext()
.getAuthentication().getCredentials();
String relay = saml.getRelayState();