Package org.jboss.seam.security.management

Examples of org.jboss.seam.security.management.IdentityObjectImpl


         EntityManager em = getEntityManager(ctx);
        
         em.persist(identityInstance);
        
         Object id = modelProperties.get(PROPERTY_IDENTITY_ID).getValue(identityInstance);
         IdentityObject obj = new IdentityObjectImpl(
               (id != null ? id.toString() : null),
               name, identityObjectType);
        
         if (attributes != null)
         {
View Full Code Here


                    modelProperties.get(PROPERTY_IDENTITY_TYPE_NAME).getValue(
                          modelProperties.get(PROPERTY_IDENTITY_TYPE).getValue(identity)).toString()) :
              new IdentityObjectTypeImpl(modelProperties.get(PROPERTY_IDENTITY_TYPE).getValue(identity).toString());
       
       
        return new IdentityObjectImpl(
                  modelProperties.get(PROPERTY_IDENTITY_ID).getValue(identity).toString(),
                  modelProperties.get(PROPERTY_IDENTITY_NAME).getValue(identity).toString(),
                  type);
      }
      catch (NoResultException ex)
View Full Code Here

              " = :type")
              .setParameter("name", name)
              .setParameter("type", identityType)             
              .getSingleResult();
       
        return new IdentityObjectImpl(
                  modelProperties.get(PROPERTY_IDENTITY_ID).getValue(identity).toString(),
                  modelProperties.get(PROPERTY_IDENTITY_NAME).getValue(identity).toString(),
                  identityObjectType);
      }
      catch (NoResultException ex)
View Full Code Here

         {
            return (IdentityObject) cache.get(entity);
         }
         else
         {        
            IdentityObject obj = new IdentityObjectImpl(
               identityIdProperty.getValue(entity).toString(),
               identityNameProperty.getValue(entity).toString(),
               convertToIdentityObjectType(identityTypeProperty.getValue(entity)));
            cache.put(entity, obj);
           
View Full Code Here

TOP

Related Classes of org.jboss.seam.security.management.IdentityObjectImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.