use of org.opensaml.saml.metadata.resolver.impl.BasicRoleDescriptorResolver in project cas by apereo.
the class SamlIdPObjectSignatureValidator method getRoleDescriptorResolver.
@Override
protected RoleDescriptorResolver getRoleDescriptorResolver(final MetadataResolver resolver, final MessageContext context, final RequestAbstractType profileRequest) throws Exception {
final BasicRoleDescriptorResolver roleDescriptorResolver = new BasicRoleDescriptorResolver(casSamlIdPMetadataResolver);
roleDescriptorResolver.initialize();
return roleDescriptorResolver;
}
use of org.opensaml.saml.metadata.resolver.impl.BasicRoleDescriptorResolver in project cas by apereo.
the class SamlObjectSignatureValidator method getRoleDescriptorResolver.
/**
* Gets role descriptor resolver.
*
* @param resolver the resolver
* @param context the context
* @param profileRequest the profile request
* @return the role descriptor resolver
* @throws Exception the exception
*/
protected RoleDescriptorResolver getRoleDescriptorResolver(final MetadataResolver resolver, final MessageContext context, final RequestAbstractType profileRequest) throws Exception {
final BasicRoleDescriptorResolver roleDescriptorResolver = new BasicRoleDescriptorResolver(resolver);
roleDescriptorResolver.initialize();
return roleDescriptorResolver;
}
Aggregations