Package org.gluu.oxauth.idgen.ws.rs
Class InumGenerator
- java.lang.Object
-
- org.gluu.oxauth.idgen.ws.rs.InumGenerator
-
@ApplicationScoped public class InumGenerator extends java.lang.Object
Inum ID generator. Generates inum: e.g. @!1111!0001!1234.- Version:
- 0.9, 26/06/2013
- Author:
- Yuriy Zabrovarnyy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SEPARATOR
-
Constructor Summary
Constructors Constructor Description InumGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
baseDn(IdType p_type)
boolean
contains(java.lang.String inum, IdType type)
java.lang.String
generateId(java.lang.String p_idType, java.lang.String p_idPrefix)
java.lang.String
generateId(IdType p_idType, java.lang.String p_idPrefix)
-
-
-
Field Detail
-
SEPARATOR
public static final java.lang.String SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateId
public java.lang.String generateId(java.lang.String p_idType, java.lang.String p_idPrefix)
-
generateId
public java.lang.String generateId(IdType p_idType, java.lang.String p_idPrefix)
-
contains
public boolean contains(java.lang.String inum, IdType type)
-
baseDn
public java.lang.String baseDn(IdType p_type)
-
-