|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.Uniform
org.restlet.Restlet
org.restlet.Filter
org.restlet.Guard
org.xwiki.rest.XWikiAuthentication
public class XWikiAuthentication
| Field Summary |
|---|
| Fields inherited from class org.restlet.Guard |
|---|
AUTHENTICATION_INVALID, AUTHENTICATION_MISSING, AUTHENTICATION_STALE, AUTHENTICATION_VALID, DEFAULT_NONCE_LIFESPAN_MILLIS |
| Fields inherited from class org.restlet.Filter |
|---|
CONTINUE, SKIP, STOP |
| Constructor Summary | |
|---|---|
XWikiAuthentication(org.restlet.Context context)
|
|
| Method Summary | |
|---|---|
int |
authenticate(org.restlet.data.Request request)
|
boolean |
checkSecret(org.restlet.data.Request request,
java.lang.String identifier,
char[] secret)
|
| Methods inherited from class org.restlet.Guard |
|---|
accept, authorize, challenge, challenge, checkSecret, doHandle, findSecret, forbid, getDomainUris, getNonceLifespan, getRealm, getScheme, getSecretResolver, getSecrets, getServerKey, isRechallengeEnabled, setDomainUris, setNonceLifespan, setRealm, setRechallengeEnabled, setScheme, setSecretResolver, setServerKey |
| Methods inherited from class org.restlet.Filter |
|---|
afterHandle, beforeHandle, getNext, handle, hasNext, setNext, setNext |
| Methods inherited from class org.restlet.Restlet |
|---|
getApplication, getContext, getLogger, init, isStarted, isStopped, setContext, start, stop |
| Methods inherited from class org.restlet.Uniform |
|---|
delete, delete, get, get, handle, head, head, options, options, post, post, put, put |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XWikiAuthentication(org.restlet.Context context)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException| Method Detail |
|---|
public int authenticate(org.restlet.data.Request request)
authenticate in class org.restlet.Guard
public boolean checkSecret(org.restlet.data.Request request,
java.lang.String identifier,
char[] secret)
checkSecret in class org.restlet.Guard
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||