Novell exteNd Messaging Platform 5.2

com.sssw.jbroker.api.security.CSIv2
Interface SecurityContext


public interface SecurityContext

The security context is the container for Identity and InitialContext tokens.


Method Summary
 IdentityToken getIdentityToken(String realm)
          Get the identity token for the given realm name.
 Enumeration getIdentityTokens()
          Get all the identity tokens.
 InitialContextToken getInitialContextToken(String realm)
          Get the initial context token for a given realm.
 Enumeration getInitialContextTokens()
          Get all the initial context tokens.
 void setIdentityToken(IdentityToken identToken)
          Set an identity token.
 void setInitialContextToken(InitialContextToken initCtxToken)
          Set an initial context token.
 

Method Detail

getIdentityToken

public IdentityToken getIdentityToken(String realm)
Get the identity token for the given realm name.


setIdentityToken

public void setIdentityToken(IdentityToken identToken)
Set an identity token. Multiple identity tokens of type ITTPrincipalName can be set as long as they belong to different realms. There can only be atmost one token of the other token types.


getIdentityTokens

public Enumeration getIdentityTokens()
Get all the identity tokens.


getInitialContextToken

public InitialContextToken getInitialContextToken(String realm)
Get the initial context token for a given realm. Multiple token are allowed as long as they belong to different realms.


setInitialContextToken

public void setInitialContextToken(InitialContextToken initCtxToken)
Set an initial context token.


getInitialContextTokens

public Enumeration getInitialContextTokens()
Get all the initial context tokens.


Novell exteNd Messaging Platform 5.2

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2004 Novell, Inc. All Rights Reserved.