|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.larsan.urd.service.user.Service
This is the main Urd user service. This service uses JAAS to authenticate its principals. To determine which JAAS login context to use, use the 'context' init parameter:
The login context default to 'SimpleUrdContext'. This service works with name and
password callbacks fro ordinary authentications. For indirect authentications the login
module must use an IndirectionCallback.
Available indirections can be registered with the service whrough the 'indirections' initiation parameter. This paramtere takes a comma separated value of class names for the indirections to use. For example:
This service is dependent on the Urd JNDI context and must have a context permission in order to use it.
| Constructor Summary | |
Service()
|
|
| Method Summary | |
void |
destroy()
Destroy this service. |
ServiceHandle |
getServiceHandle()
Get a reference to the ServiceHandle interface for this service. |
SoftwareInfo |
getServiceInfo()
Get service information. |
void |
init(InitParameters param)
Initialize module. |
void |
setStatusCallback(StatusCallback callback)
Set the status callback this service should use to signal status changes to the framework. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Service()
| Method Detail |
public void setStatusCallback(StatusCallback callback)
Serviceready.
setStatusCallback in interface Servicecallback - Status callback handlepublic SoftwareInfo getServiceInfo()
ServiceServiceHandle interface.
getServiceInfo in interface Servicepublic ServiceHandle getServiceHandle()
ServiceServiceHandle interface for this service. The service handle
is the public contract used by other services. This method is guarrantied by the framework
never to be called unless the service returns its status as being ready.
getServiceHandle in interface Serviceready
public void init(InitParameters param)
throws UnavailableException
Initializable
init in interface Initializableparam - Initialization parameters
UnavailableException - If initialization failedpublic void destroy()
Initializable
destroy in interface Initializable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||