com.microfocus.cobol.connector.transport
Class SecurityToken

java.lang.Object
  extended bycom.microfocus.cobol.connector.transport.SecurityToken
All Implemented Interfaces:
Serializable

public final class SecurityToken
extends Object
implements Serializable

Security Token helper class

Copyright: Copyright (c) 2002-2003 Company: Micro Focus International Ltd

See Also:
Serialized Form

Field Summary
static int BF_STOKEN_NT_DomainPrincipal
           
static int BF_STOKEN_NT_SidDomainPrincipal
           
static int BF_STOKEN_NT_SidGroupPrincipal
           
static int BF_STOKEN_NT_SidPrimaryGroupPrincipal
           
static int BF_STOKEN_NT_SIDUserPrincipal
           
static int BF_STOKEN_NT_USERNAME
           
static int BF_STOKEN_UNIX_Principal
           
static int BF_STOKEN_UNIX_UnixNumericGroupPrincipalPrimary
           
static int BF_STOKEN_UNIX_UnixNumericGroupPrincipalSupplementary
           
static int BF_STOKEN_UNIX_UnixNumericUserPrincipal
           
 
Constructor Summary
SecurityToken(int id, String token)
          Construct a security token given a logical id (see BF_STOKEN* for valid ids)
 
Method Summary
 String getName()
          get token name
 String getToken()
          get token
 int getTokenType()
          get token type
 String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BF_STOKEN_NT_USERNAME

public static final int BF_STOKEN_NT_USERNAME
See Also:
Constant Field Values

BF_STOKEN_NT_DomainPrincipal

public static final int BF_STOKEN_NT_DomainPrincipal
See Also:
Constant Field Values

BF_STOKEN_NT_SidDomainPrincipal

public static final int BF_STOKEN_NT_SidDomainPrincipal
See Also:
Constant Field Values

BF_STOKEN_NT_SIDUserPrincipal

public static final int BF_STOKEN_NT_SIDUserPrincipal
See Also:
Constant Field Values

BF_STOKEN_NT_SidPrimaryGroupPrincipal

public static final int BF_STOKEN_NT_SidPrimaryGroupPrincipal
See Also:
Constant Field Values

BF_STOKEN_NT_SidGroupPrincipal

public static final int BF_STOKEN_NT_SidGroupPrincipal
See Also:
Constant Field Values

BF_STOKEN_UNIX_Principal

public static final int BF_STOKEN_UNIX_Principal
See Also:
Constant Field Values

BF_STOKEN_UNIX_UnixNumericUserPrincipal

public static final int BF_STOKEN_UNIX_UnixNumericUserPrincipal
See Also:
Constant Field Values

BF_STOKEN_UNIX_UnixNumericGroupPrincipalPrimary

public static final int BF_STOKEN_UNIX_UnixNumericGroupPrincipalPrimary
See Also:
Constant Field Values

BF_STOKEN_UNIX_UnixNumericGroupPrincipalSupplementary

public static final int BF_STOKEN_UNIX_UnixNumericGroupPrincipalSupplementary
See Also:
Constant Field Values
Constructor Detail

SecurityToken

public SecurityToken(int id,
                     String token)
Construct a security token given a logical id (see BF_STOKEN* for valid ids)

Parameters:
id - a BF_STOKEN id
token - name
Method Detail

getName

public final String getName()
get token name

Returns:
token name

getToken

public final String getToken()
get token

Returns:
get token

getTokenType

public final int getTokenType()
get token type

Returns:
a integer represeting token type

toString

public final String toString()
toString

Returns:
Return a visual representation of a security token



Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.