com.sun.xml.ws.security.trust.impl
Class DefaultSTSAuthorizationProvider

java.lang.Object
  extended by com.sun.xml.ws.security.trust.impl.DefaultSTSAuthorizationProvider
All Implemented Interfaces:
STSAuthorizationProvider

public class DefaultSTSAuthorizationProvider
extends java.lang.Object
implements STSAuthorizationProvider


Constructor Summary
DefaultSTSAuthorizationProvider()
           
 
Method Summary
 boolean isAuthorized(javax.security.auth.Subject subject, java.lang.String appliesTo, java.lang.String tokenType, java.lang.String keyType)
          Returns true if the requestor identified by the Subject can access the the target service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSTSAuthorizationProvider

public DefaultSTSAuthorizationProvider()
Method Detail

isAuthorized

public boolean isAuthorized(javax.security.auth.Subject subject,
                            java.lang.String appliesTo,
                            java.lang.String tokenType,
                            java.lang.String keyType)
Description copied from interface: STSAuthorizationProvider
Returns true if the requestor identified by the Subject can access the the target service.

Specified by:
isAuthorized in interface STSAuthorizationProvider
Parameters:
subject - The Subject contgaining 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.