public class HibernateSecurityDao extends org.springframework.orm.hibernate4.support.HibernateDaoSupport implements SecurityDao
| Constructor and Description |
|---|
HibernateSecurityDao() |
public void saveOrUpdateRole(Role role)
saveOrUpdateRole in interface SecurityDaopublic void saveOrUpdatePolicy(Policy policy)
saveOrUpdatePolicy in interface SecurityDaopublic void saveOrUpdatePrincipal(IkasanPrincipal principal)
saveOrUpdatePrincipal in interface SecurityDaopublic IkasanPrincipal getPrincipalByName(String name)
getPrincipalByName in interface SecurityDaopublic List<Policy> getAllPolicies()
getAllPolicies in interface SecurityDaopublic List<Role> getAllRoles()
getAllRoles in interface SecurityDaopublic List<IkasanPrincipal> getAllPrincipals()
getAllPrincipals in interface SecurityDaopublic Policy getPolicyByName(String name)
getPolicyByName in interface SecurityDaopublic Role getRoleByName(String name)
getRoleByName in interface SecurityDaopublic void deleteRole(Role role)
deleteRole in interface SecurityDaopublic void deletePolicy(Policy policy)
deletePolicy in interface SecurityDaopublic void deletePrincipal(IkasanPrincipal principal)
deletePrincipal in interface SecurityDaopublic void saveOrUpdateAuthenticationMethod(AuthenticationMethod authenticationMethod)
saveOrUpdateAuthenticationMethod in interface SecurityDaopublic AuthenticationMethod getAuthenticationMethod(Long id)
getAuthenticationMethod in interface SecurityDaopublic List<AuthenticationMethod> getAuthenticationMethods()
getAuthenticationMethods in interface SecurityDaopublic List<IkasanPrincipal> getAllPrincipalsWithRole(String roleName)
getAllPrincipalsWithRole in interface SecurityDaopublic List<IkasanPrincipal> getPrincipalsByRoleNames(List<String> names)
getPrincipalsByRoleNames in interface SecurityDaopublic List<IkasanPrincipal> getPrincipalByNameLike(String name)
getPrincipalByNameLike in interface SecurityDaopublic List<PolicyLinkType> getAllPolicyLinkTypes()
getAllPolicyLinkTypes in interface SecurityDaopublic List<Policy> getPolicyByNameLike(String name)
getPolicyByNameLike in interface SecurityDaopublic List<Role> getRoleByNameLike(String name)
getRoleByNameLike in interface SecurityDaopublic void saveOrUpdatePolicyLink(PolicyLink policyLink)
saveOrUpdatePolicyLink in interface SecurityDaopublic void saveOrUpdatePolicyLinkType(PolicyLinkType policyLinkType)
saveOrUpdatePolicyLinkType in interface SecurityDaopublic void deletePolicyLink(PolicyLink policyLink)
deletePolicyLink in interface SecurityDaopublic List<Policy> getAllPoliciesWithRole(String roleName)
getAllPoliciesWithRole in interface SecurityDaopublic void deleteAuthenticationMethod(AuthenticationMethod authenticationMethod)
deleteAuthenticationMethod in interface SecurityDaopublic long getNumberOfAuthenticationMethods()
getNumberOfAuthenticationMethods in interface SecurityDaopublic AuthenticationMethod getAuthenticationMethodByOrder(long order)
getAuthenticationMethodByOrder in interface SecurityDaopublic List<User> getUsersAssociatedWithPrincipal(long principalId)
getUsersAssociatedWithPrincipal in interface SecurityDaoCopyright © 2007-2016 Ikasan. All Rights Reserved.