public interface MessageAuthorizer
Modifier and Type | Method and Description |
---|---|
boolean |
authorize(Subject subject,
Object secureMessage,
SecurityMechanism securityMechanism,
SecurityToken securityToken,
ProviderConfig config,
boolean isLiberty)
Authorizes the web services client.
|
boolean authorize(Subject subject, Object secureMessage, SecurityMechanism securityMechanism, SecurityToken securityToken, ProviderConfig config, boolean isLiberty) throws SecurityException
subject
- authenticated subject.secureMessage
- the secure SOAPMessage.
If the message security is provided by the WS-I profies, the
secureMessage object is of type
com.sun.identity.wss.security.handler.SecureSOAPMessage
.
If the message security is provided by the Liberty ID-WSF
profiles, the secure message is of type
com.sun.identity.liberty.ws.soapbinding.Message
.securityMechanism
- the security mechanism that will be used to
authenticate the web services client.securityToken
- the security token that is used.config
- the provider configuration.isLiberty
- boolean variable to indicate that the message
security is provided by the liberty security profiles.SecurityException
- if there is an exception
during authorization.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.