org.jboss.resteasy.test.smoke
Class ProtectedResource
java.lang.Object
org.jboss.resteasy.test.smoke.ProtectedResource
public class ProtectedResource
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtectedResource
public ProtectedResource()
getAdminRoleCtx
public java.lang.String getAdminRoleCtx(@Context
SecurityContext ctx)
getAdminRole
@RolesAllowed(value="admin")
public java.lang.String getAdminRole()
getUserRoleCtx
public java.lang.String getUserRoleCtx(@Context
SecurityContext ctx)
getUserRole
@RolesAllowed(value="user")
public java.lang.String getUserRole()
getUserNameCtx
public java.lang.String getUserNameCtx(@Context
SecurityContext ctx)
getAdminNameCtx
public java.lang.String getAdminNameCtx(@Context
SecurityContext ctx)
getAuthMethod
public java.lang.String getAuthMethod(@Context
SecurityContext ctx)
Copyright © 2010. All Rights Reserved.