public class IfsCredentialNameTokenizer extends Object implements CredentialNameTokenizer
 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 and Description | 
|---|
IfsCredentialNameTokenizer()
Constructs an IfsCredentialNameTokenizer. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
dispose()
Called by the iFS service to dispose this IfsCredentialNameTokenizer. 
 | 
String | 
getSubscriberName(String userName)
Gets the subscriber name for the specified username. 
 | 
String | 
getUserid(String userName)
Gets the userid for the specified username. 
 | 
String | 
getUserName(String userid,
           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. 
 | 
public IfsCredentialNameTokenizer()
                           throws IfsException
IfsException - (IFS-12700) if the operation failspublic void initialize(S_LibraryService service) throws IfsException
initialize in interface CredentialNameTokenizerservice - the iFS service to which this
            IfsCredentialNameTokenizer belongsIfsException - (IFS-12701) if the operation failspublic void dispose()
             throws IfsException
dispose in interface CredentialNameTokenizerIfsException - (IFS-12702) if the operation failspublic String getUserName(String userid, String subscriberName) throws IfsException
getUserName in interface CredentialNameTokenizeruserid - the userid of the usersubscriberName - the subscriber of the userIfsException - (IFS-12710) if the operation failspublic String getUserid(String userName) throws IfsException
getUserid in interface CredentialNameTokenizeruserName - the username of the userIfsException - (IFS-12711) if the operation failspublic String getSubscriberName(String userName) throws IfsException
getSubscriberName in interface CredentialNameTokenizeruserName - the username of the userIfsException - (IFS-12712) if the operation failsCopyright © 2025. All rights reserved.