|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.cli.ClientAuthenticationCache
public class ClientAuthenticationCache
Represents the authentication credential store of the CLI client.
This object encapsulates a remote manipulation of the credential store. We store encrypted user names.
Constructor Summary | |
---|---|
ClientAuthenticationCache(hudson.remoting.Channel channel)
|
Method Summary | |
---|---|
org.acegisecurity.Authentication |
get()
Gets the persisted authentication for this Jenkins. |
void |
remove()
Removes the persisted credential, if there's one. |
void |
set(org.acegisecurity.Authentication a)
Persists the specified authentication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClientAuthenticationCache(hudson.remoting.Channel channel) throws IOException, InterruptedException
IOException
InterruptedException
Method Detail |
---|
public org.acegisecurity.Authentication get()
Jenkins.ANONYMOUS
if no such credential is found, or if the stored credential is invalid.public void set(org.acegisecurity.Authentication a) throws IOException, InterruptedException
IOException
InterruptedException
public void remove() throws IOException, InterruptedException
IOException
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |