Search in sources :

Example 1 with BasicRoleDescriptorResolver

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;
}
Also used : BasicRoleDescriptorResolver(org.opensaml.saml.metadata.resolver.impl.BasicRoleDescriptorResolver)

Example 2 with BasicRoleDescriptorResolver

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;
}
Also used : BasicRoleDescriptorResolver(org.opensaml.saml.metadata.resolver.impl.BasicRoleDescriptorResolver)

Aggregations

BasicRoleDescriptorResolver (org.opensaml.saml.metadata.resolver.impl.BasicRoleDescriptorResolver)2