public interface HostedProviderService<Configuration extends LocalProviderConfiguration,LocalMetadata extends Metadata,RemoteMetadata extends Metadata>
Modifier and Type | Method and Description |
---|---|
<T extends Saml2Object> |
fromXml(String xml,
boolean encoded,
boolean deflated,
Class<T> type) |
Configuration |
getConfiguration() |
LocalMetadata |
getMetadata() |
Endpoint |
getPreferredEndpoint(List<Endpoint> endpoints,
Binding preferredBinding,
int preferredIndex) |
RemoteMetadata |
getRemoteProvider(ExternalProviderConfiguration c) |
RemoteMetadata |
getRemoteProvider(Saml2Object saml2Object) |
RemoteMetadata |
getRemoteProvider(String entityId) |
List<RemoteMetadata> |
getRemoteProviders() |
LogoutRequest |
logoutRequest(RemoteMetadata recipient,
NameIdPrincipal principal) |
LogoutResponse |
logoutResponse(LogoutRequest request,
RemoteMetadata recipient) |
String |
toEncodedXml(Saml2Object saml2Object,
boolean deflate) |
String |
toEncodedXml(String xml,
boolean deflate) |
String |
toXml(Saml2Object saml2Object) |
ValidationResult |
validate(Saml2Object saml2Object) |
Configuration getConfiguration()
LocalMetadata getMetadata()
List<RemoteMetadata> getRemoteProviders()
LogoutRequest logoutRequest(RemoteMetadata recipient, NameIdPrincipal principal)
LogoutResponse logoutResponse(LogoutRequest request, RemoteMetadata recipient)
RemoteMetadata getRemoteProvider(Saml2Object saml2Object)
RemoteMetadata getRemoteProvider(String entityId)
RemoteMetadata getRemoteProvider(ExternalProviderConfiguration c)
ValidationResult validate(Saml2Object saml2Object)
<T extends Saml2Object> T fromXml(String xml, boolean encoded, boolean deflated, Class<T> type)
String toXml(Saml2Object saml2Object)
String toEncodedXml(Saml2Object saml2Object, boolean deflate)