com.rapidtransform.core.service
Interface SecurityService

All Superinterfaces:
Service
All Known Implementing Classes:
SecurityServiceAcegi

public interface SecurityService
extends Service

provides convenience methods for security functionality, such as retrieving the currently logged in user.

Author:
S. Werner

Method Summary
 java.lang.String encodePassword(java.lang.String password)
          Encodes the given password using a Security Provider specific hash function.
 User getAuthenticatedUser()
          Returns the user that is currently logged in.
 

Method Detail

getAuthenticatedUser

User getAuthenticatedUser()
Returns the user that is currently logged in.

Returns:

encodePassword

java.lang.String encodePassword(java.lang.String password)
Encodes the given password using a Security Provider specific hash function.

Parameters:
password -
Returns: