Class DefaultSTSAuthorizationProvider
java.lang.Object
com.sun.xml.ws.security.trust.impl.DefaultSTSAuthorizationProvider
- All Implemented Interfaces:
STSAuthorizationProvider
- Author:
- Jiandong Guo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthorized(Subject subject, String appliesTo, String tokenType, String keyType) Returns true if the requestor identified by theSubjectcan access the the target service.
-
Constructor Details
-
DefaultSTSAuthorizationProvider
public DefaultSTSAuthorizationProvider()
-
-
Method Details
-
isAuthorized
Description copied from interface:STSAuthorizationProviderReturns true if the requestor identified by theSubjectcan access the the target service.- Specified by:
isAuthorizedin interfaceSTSAuthorizationProvider- Parameters:
subject- TheSubjectcontgaining authentication information and context of the authenticated requestor.appliesTo- Identifying target service(s)tokenType- Type of token to be issued.keyType- Type of key to be issued- Returns:
- true ot false.
-