|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.security.ServiceType
This class represents a service type.
Service type indicates what type of service is available. The ServiceType
class
represents, to the application and to the security runtime, a service that is offered for use.
Five well-known service types are supported by this class to facilitate their
use in your security runtime applications: Audit, Authentication, Authorization,
Credential, and Role. However, you may expand the service types
beyond the knowledge of the ServiceType
class and used them with
security runtime applications. The service type IDs are keyed by integers 0-5,
where the integer 0 represents an invalid type.
Field Summary | |
static ServiceType |
AUDIT
Auditing Service Type ID = 5. |
static ServiceType |
AUTHENTICATION
Authentication Service Type ID = 1. |
static ServiceType |
AUTHORIZATION
Authorization Service Type ID = 2. |
static ServiceType |
CREDENTIAL
Credential Mapper Service Type ID = 3. |
static ServiceType |
INVALID
INVALID Service Type ID = 0. |
static ServiceType |
ROLE
Role Mapper Service Type ID = 4. |
Constructor Summary | |
ServiceType(int typecode)
Constructs a service type with a specific service code. |
Method Summary | |
boolean |
equals(java.lang.Object another)
Determines if this type is the same as another |
int |
hashCode()
Returns the service code as the object hash. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final ServiceType INVALID
public static final ServiceType AUTHENTICATION
public static final ServiceType AUTHORIZATION
public static final ServiceType CREDENTIAL
public static final ServiceType ROLE
public static final ServiceType AUDIT
Constructor Detail |
public ServiceType(int typecode)
Method Detail |
public int hashCode()
int
representing this service type.public boolean equals(java.lang.Object another)
true
if it is the same; otherwise, returns false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |