|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.shared.store.operations.AddPrincipal
public class AddPrincipal
Command for adding a principal to a JNDI context.
Field Summary | |
---|---|
protected PrincipalStoreEntry |
entry
The Kerberos principal who is to be added. |
Constructor Summary | |
---|---|
AddPrincipal(PrincipalStoreEntry entry)
Creates the action to be used against the embedded ApacheDS DIT. |
Method Summary | |
---|---|
java.lang.Object |
execute(CoreSession session,
org.apache.directory.shared.ldap.name.LdapDN searchBaseDn)
The command pattern execute method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PrincipalStoreEntry entry
Constructor Detail |
---|
public AddPrincipal(PrincipalStoreEntry entry)
entry
- The PrincipalStoreEntry
to add.Method Detail |
---|
public java.lang.Object execute(CoreSession session, org.apache.directory.shared.ldap.name.LdapDN searchBaseDn) throws java.lang.Exception
DirectoryServiceOperation
execute
in interface DirectoryServiceOperation
session
- The CoreSession to execute the command withsearchBaseDn
- The base DN for working with the context
java.lang.Exception
- The exception thrown by the command
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |