uk.ac.soton.itinnovation.components.security
Class WSTrustModule

java.lang.Object
  extended by uk.ac.soton.itinnovation.components.security.WSTrustModule
All Implemented Interfaces:
java.io.Serializable, nextgrid.api.env.STSModule

public class WSTrustModule
extends java.lang.Object
implements nextgrid.api.env.STSModule

Author:
Nikolaos Matskanis
See Also:
Serialized Form

Field Summary
static java.lang.String NO_TOKEN
          URI used when a service does not use security.
static java.lang.String WSTRUST_CONFIG_FILE
          Configuration file name.
static java.lang.String WSTRUST_TOKEN_TYPE
          URI used when a service uses WS-Trust security through SAML tokens.
 
Constructor Summary
WSTrustModule()
          Creates a new instance.
 
Method Summary
 org.w3c.dom.Element lookup(java.lang.String ref)
          Looks up a security in an internal cache.
 org.w3c.dom.Element requestSecurityToken()
          
 void setMembershipGroup(java.lang.String epr)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSTRUST_CONFIG_FILE

public static final java.lang.String WSTRUST_CONFIG_FILE
Configuration file name.

See Also:
Constant Field Values

WSTRUST_TOKEN_TYPE

public static final java.lang.String WSTRUST_TOKEN_TYPE
URI used when a service uses WS-Trust security through SAML tokens.

See Also:
Constant Field Values

NO_TOKEN

public static final java.lang.String NO_TOKEN
URI used when a service does not use security.

See Also:
Constant Field Values
Constructor Detail

WSTrustModule

public WSTrustModule()
Creates a new instance.

Method Detail

setMembershipGroup

public void setMembershipGroup(java.lang.String epr)

Specified by:
setMembershipGroup in interface nextgrid.api.env.STSModule

requestSecurityToken

public org.w3c.dom.Element requestSecurityToken()
                                         throws nextgrid.api.env.STSFailureException

Specified by:
requestSecurityToken in interface nextgrid.api.env.STSModule
Throws:
nextgrid.api.env.STSFailureException

lookup

public org.w3c.dom.Element lookup(java.lang.String ref)
Looks up a security in an internal cache.

Parameters:
ref - Reference
Returns:
Cached token or null


Copyright © 2006-2008 IT Innovation Centre, University of Southampton. All Rights Reserved.