|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.common.IfsCredentialNameTokenizer
IfsCredentialNameTokenizer is the standard CredentialNameTokenizer for iFS.
IfsCredentialNameTokenizer is compatible with both IfsCredentialManager
and OidCredentialManager. Usernames are synthesized from userids and
subscriber names as follows: userid@subscriber-name
.
A null subscriber name indicates a default subscriber (the meaning of
which is specific to each CredentialManager implementation); in this
case the username format is simply userid
.
Constructor Summary | |
IfsCredentialNameTokenizer()
Constructs an IfsCredentialNameTokenizer. |
Method Summary | |
void |
dispose()
Called by the iFS service to dispose this IfsCredentialNameTokenizer. |
java.lang.String |
getSubscriberName(java.lang.String userName)
Gets the subscriber name for the specified username. |
java.lang.String |
getUserid(java.lang.String userName)
Gets the userid for the specified username. |
java.lang.String |
getUserName(java.lang.String userid,
java.lang.String subscriberName)
Gets the username for the specified userid and subscriber name. |
void |
initialize(S_LibraryService service)
Called by the iFS service to initialize this IfsCredentialNameTokenizer. |
Constructor Detail |
public IfsCredentialNameTokenizer() throws IfsException
IfsException
- (IFS-12700) if the operation failsMethod Detail |
public void initialize(S_LibraryService service) throws IfsException
initialize
in interface CredentialNameTokenizer
service
- the iFS service to which this
IfsCredentialNameTokenizer belongsIfsException
- (IFS-12701) if the operation failspublic void dispose() throws IfsException
dispose
in interface CredentialNameTokenizer
IfsException
- (IFS-12702) if the operation failspublic java.lang.String getUserName(java.lang.String userid, java.lang.String subscriberName) throws IfsException
getUserName
in interface CredentialNameTokenizer
userid
- the userid of the usersubscriberName
- the subscriber of the userIfsException
- (IFS-12710) if the operation failspublic java.lang.String getUserid(java.lang.String userName) throws IfsException
getUserid
in interface CredentialNameTokenizer
userName
- the username of the userIfsException
- (IFS-12711) if the operation failspublic java.lang.String getSubscriberName(java.lang.String userName) throws IfsException
getSubscriberName
in interface CredentialNameTokenizer
userName
- the username of the userIfsException
- (IFS-12712) if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |