org.opennms.web.springframework.security
Class Authentication

java.lang.Object
  extended by org.opennms.web.springframework.security.Authentication

public final class Authentication
extends Object

An uninstantiatable class that provides a servlet container-independent interface to the authentication system and a list of useful constants.

Version:
$Id: $
Author:
Lawrence Karnowski , OpenNMS , Lawrence Karnowski , OpenNMS

Field Summary
static String ROLE_ADMIN
           
static String ROLE_DASHBOARD
           
static String ROLE_PROVISION
           
static String ROLE_READONLY
           
static String ROLE_REMOTING
           
static String ROLE_REST
           
static String ROLE_RTC
           
static String ROLE_USER
           
 
Method Summary
static String getSpringSecuirtyRoleFromOldRoleName(String oldRole)
          getSpringSecuirtyRoleFromOldRoleName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROLE_USER

public static final String ROLE_USER
See Also:
Constant Field Values

ROLE_ADMIN

public static final String ROLE_ADMIN
See Also:
Constant Field Values

ROLE_READONLY

public static final String ROLE_READONLY
See Also:
Constant Field Values

ROLE_DASHBOARD

public static final String ROLE_DASHBOARD
See Also:
Constant Field Values

ROLE_RTC

public static final String ROLE_RTC
See Also:
Constant Field Values

ROLE_PROVISION

public static final String ROLE_PROVISION
See Also:
Constant Field Values

ROLE_REMOTING

public static final String ROLE_REMOTING
See Also:
Constant Field Values

ROLE_REST

public static final String ROLE_REST
See Also:
Constant Field Values
Method Detail

getSpringSecuirtyRoleFromOldRoleName

public static String getSpringSecuirtyRoleFromOldRoleName(String oldRole)

getSpringSecuirtyRoleFromOldRoleName

Parameters:
oldRole - a String object.
Returns:
a String object.


Copyright © 2011. All Rights Reserved.