| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.authentication.handlers.AuthKeyHints
public class AuthKeyHints
Contains elements that may be used to construct an AuthKey
| Constructor Summary | |
|---|---|
AuthKeyHints()
 | 
|
| Method Summary | |
|---|---|
 long | 
getExpiration()
 | 
 String | 
getIpMask()
 | 
 String | 
getMethods()
 | 
 String | 
getVersion()
 | 
 boolean | 
isPrefixMode()
 | 
 void | 
setExpiration(long expiration)
Specify the expiration date of the authkey, in the epoch standard format.  | 
 void | 
setIpMask(String ipMask)
An authkey may be generated only for authorized ip.  | 
 void | 
setMethods(String methods)
Parameter to tell wich HTTP methods are allowed for a given authkey.  | 
 void | 
setPrefixMode(boolean prefixMode)
Tells if an authkey has to be generated for only a given URL (default behaviour), or a range of URL beginning with a given prefix (prefix mode).  | 
 void | 
setVersion(String version)
As the format of the authkey may be modified, to maintain compatibility, a version of the format is embedded in the authkey.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AuthKeyHints()
| Method Detail | 
|---|
public boolean isPrefixMode()
public void setPrefixMode(boolean prefixMode)
prefixMode - public long getExpiration()
public void setExpiration(long expiration)
expiration - public String getMethods()
public void setMethods(String methods)
methods - public String getIpMask()
public void setIpMask(String ipMask)
ipMask - a Perl 5 regexp for authorized IP.public String getVersion()
public void setVersion(String version)
version - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||