|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.dsr.security.SecurityManager.NullAuthoriser
public static class SecurityManager.NullAuthoriser
| Field Summary |
|---|
| Fields inherited from interface eu.emi.dsr.security.IAttributeSource |
|---|
ATTRIBUTE_ADD_DEFAULT_GROUPS, ATTRIBUTE_GROUP, ATTRIBUTE_ROLE, ATTRIBUTE_SUPPLEMENTARY_GROUPS, ATTRIBUTE_VOS, ROLE_ADMIN, ROLE_ANONYMOUS |
| Constructor Summary | |
|---|---|
SecurityManager.NullAuthoriser()
|
|
| Method Summary | |
|---|---|
String[] |
getAcceptedVOs()
This method returns the list of VOs that this attribute source supports. |
SubjectAttributesHolder |
getAttributes(SecurityTokens tokens,
SubjectAttributesHolder otherAuthoriserInfo)
Retrieves a map of attributes based on the supplied SecurityTokens. Since authorisers can be chained, it might be sometimes useful to see attributes returned by authorisers that have run previously. |
String |
getName()
This method should return name of this attribute source, which was passed to the init() method. |
String |
getStatusDescription()
Get a user-friendly description of the attribute source's status. This is used for informing the administrator of any problems with configuration, connection problems, etc. |
void |
init(String name)
initialise the source |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityManager.NullAuthoriser()
| Method Detail |
|---|
public String getStatusDescription()
IAttributeSourceTimeoutRunner class to avoid blocking.
getStatusDescription in interface IAttributeSourcepublic void init(String name)
IAttributeSource
init in interface IAttributeSourcepublic String getName()
IAttributeSource
getName in interface IAttributeSource
public SubjectAttributesHolder getAttributes(SecurityTokens tokens,
SubjectAttributesHolder otherAuthoriserInfo)
throws IOException
IAttributeSourcenull must be returned.
getAttributes in interface IAttributeSourcetokens - - security tokens for this requestotherAuthoriserInfo - - attributes returned by other authorisers, which may be null
IOException - in case of technical problemspublic String[] getAcceptedVOs()
IAttributeSource
getAcceptedVOs in interface IAttributeSource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||