|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.shindig.auth.AuthInfo
public class AuthInfo
Class to get authorization information on a servlet request. Information is set by adding an AuthentiationServletFilter, and there is no way to set in a public API. This can be added in the future for testing purposes.
| Nested Class Summary | |
|---|---|
static class |
AuthInfo.Attribute
Constants for request attribute keys This is only public for testing. |
| Constructor Summary | |
|---|---|
AuthInfo(javax.servlet.http.HttpServletRequest req)
Create AuthInfo from a given HttpServletRequest |
|
| Method Summary | |
|---|---|
String |
getAuthType()
Get the hosted domain for this request. |
SecurityToken |
getSecurityToken()
Get the security token for this request. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject public AuthInfo(javax.servlet.http.HttpServletRequest req)
req - | Method Detail |
|---|
public SecurityToken getSecurityToken()
public String getAuthType()
null if no domain was found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||