|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sampleApplications.MyApp
This class implements the application interface, providing the security platform interface with a callback object.
The callback object is invoked for the purposes of the security platform gaining access to the configuration and providing log messages to the calling application.
Field Summary | |
java.lang.String |
path
Replace with the path where your configuration file is kept. |
Constructor Summary | |
MyApp()
|
Method Summary | |
java.net.URL |
getConfigFile()
This returns the configuration file for the security platform to initialize and be configured. |
java.lang.String[] |
getUserIdentities()
Gets all user identity attributes from the application store. |
void |
log(java.lang.String message)
Logs the message in the application-specific log. |
void |
reAssignIdentity(java.lang.String originalIdentity,
java.lang.String newIdentity)
Reassigns the identity of an entry. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String path
Replace with the path where your configuration file is kept.
Constructor Detail |
public MyApp()
Method Detail |
public java.net.URL getConfigFile()
This returns the configuration file for the security platform to initialize and be configured.
getConfigFile
in interface CSSApplicationIF
CSSApplicationIF.getConfigFile()
public void log(java.lang.String message)
CSSApplicationIF
Logs the message in the application-specific log. It is the responsibilty of the application to format the message and save it in a thread-safe way to the application log file.
log
in interface CSSApplicationIF
message
- Statement from the security platform that has to be logged by the application.CSSApplicationIF.log(String)
public java.lang.String[] getUserIdentities()
CSSApplicationIF
Gets all user identity attributes from the application store. Users that have an identity are known to be stored in an external authentication repository.
getUserIdentities
in interface CSSApplicationIF
CSSApplicationIF.getUserIdentities()
public void reAssignIdentity(java.lang.String originalIdentity, java.lang.String newIdentity)
CSSApplicationIF
Reassigns the identity of an entry. This is necessary when identities have changed in the directory.
reAssignIdentity
in interface CSSApplicationIF
originalIdentity
- The identity as it was before being changed in the directory.newIdentity
- The changed identity uniquely identifying a user or group in the directory.CSSApplicationIF.reAssignIdentity(String, String)
|
Copyright 2004 Hyperion Solutions Corporation. All rights reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |