public static final class AuthzCredentialGenerator.ClassCode extends Object
AuthzCredentialGenerator implementations.
The following schemes are supported as of now:
DummyAuthorization with DummyAuthenticatorXMLAuthorization with DummyAuthenticatorXMLAuthorization with LDAPAuthenticatorXMLAuthorization with PKCSAuthenticatorXMLAuthorization when using SSL socketsAccessControl.CredentialGenerator.ClassCodeVALUES array and increase that if it is getting
overflowed. Note the methods and fields for existing schemes and add for
the new one in a similar manner.AuthzCredentialGenerator. Note the
AuthzCredentialGenerator.init(security.CredentialGenerator) method where different authentication
schemes can be passed and initialize differently for the authentication
schemes that shall be handled.AuthzCredentialGenerator.create(security.AuthzCredentialGenerator.ClassCode) method to add
creation of an instance of the new implementation for the
ClassCode enumeration value.| Modifier and Type | Field and Description |
|---|---|
static AuthzCredentialGenerator.ClassCode |
DUMMY |
static AuthzCredentialGenerator.ClassCode |
XML |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(AuthzCredentialGenerator.ClassCode opCode)
Indicates whether other
ClassCode is same as this one. |
boolean |
equals(Object obj)
Indicates whether other object is same as this one.
|
static AuthzCredentialGenerator.ClassCode |
fromOrdinal(byte ordinal)
Returns the
ClassCode represented by specified ordinal. |
static List |
getAll()
Returns all the possible values.
|
int |
hashCode()
Returns a hash code value for this
ClassCode which is the
same as its ordinal. |
boolean |
isDummy() |
boolean |
isXml() |
static AuthzCredentialGenerator.ClassCode |
parse(String operationName)
Returns the
ClassCode represented by specified string. |
byte |
toOrdinal()
Returns the ordinal for this class code.
|
String |
toString()
Returns a string representation for this class code.
|
public static final AuthzCredentialGenerator.ClassCode DUMMY
public static final AuthzCredentialGenerator.ClassCode XML
public boolean isDummy()
public boolean isXml()
public static AuthzCredentialGenerator.ClassCode fromOrdinal(byte ordinal)
ClassCode represented by specified ordinal.public static AuthzCredentialGenerator.ClassCode parse(String operationName)
ClassCode represented by specified string.public static List getAll()
public byte toOrdinal()
public final String toString()
public final boolean equals(Object obj)
public final boolean equals(AuthzCredentialGenerator.ClassCode opCode)
ClassCode is same as this one.ClassCode is same as this one.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.